﻿<script type="text/javascript" src="~/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="~/js/bootstrap.min.js"></script>
<script src="~/js/jsrender.min.js"></script>
<script src="~/js/kindeditor-v4.0.5/kindeditor.min.js"></script>
<!--模板插件-->
<script type="text/javascript" src="~/js/msgBox.js"></script>

<input type="hidden" id="msgBoximg" value="~/images/" />
<script>
    $(function () {
        window.cusImage=$('#msgBoximg').val();
        window.editors = [];
        msgBox = new MsgBox({ imgHref: cusImage });
        projectId=@Th.ProjectId;
        setTopActive();
    });
    function setTopActive(){
        $('ul.left a.active').removeClass('active');
        $('ul.left a').each(function(i,e){
            if(location.href.indexOf($(e).attr('href'))>0){
                $(e).addClass('active');
            }
        });
    }
</script>